#include "my.h"

int main()
{
    int a[N] = {999};
    printf("\n---------------before------------------\n");
    show(a, N);
    init(a, N);
    printf("\n---------------after------------------\n");
    show(a, N);
    struct result s = operator(a,N);
    printf("\nsum = %7d, ave = %6.3f", s.sum, s.ave);
    return 0;
}